﻿using System.Windows.Media;

namespace Expression.Samples.Physics {
	public static class Helpers {
		public static Color ToPlatformColor(this Box2DX.Dynamics.Color color) {
			return Color.FromArgb(255, (byte)(color.R * 255), (byte)(color.G * 255), (byte)(color.B * 255));
		}
	}
}
